package com.smartstate.IOC.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smartstate.IOC.dto.EnergyDTO;
import com.smartstate.IOC.entity.ObjMoudel;
import com.smartstate.IOC.vo.ObjMoudelTwoVo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ObjMoudelMapper extends BaseMapper<ObjMoudel> {


    /**
     * 能源消耗分析 循环查
     * @param item
     * @return
     */
   ObjMoudelTwoVo selectMetering(EnergyDTO item);

    /**
     * 递归
     */
    List<ObjMoudelTwoVo>selectMeteringAll(String id);



}
